Merged
Conversation
Automate CLI releases via GitHub Actions triggered by pushing version tags. The workflow uses goreleaser-pro to build binaries, publish to npm, and update the Homebrew tap. Required secrets: GORELEASER_KEY, NPM_TOKEN, HOMEBREW_TAP_TOKEN
The script conflicts with the new GitHub Actions release workflow since it runs `make release` after pushing a tag, which would race with the automated workflow.
The GitHub PAT needs write access to both this repo (for creating releases) and the homebrew-tap repo (for updating the formula). Renamed to GH_PAT and updated docs to clarify required permissions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
git tag -a v1.2.3 -m "Version 1.2.3" && git push origin v1.2.3)Required Secrets
Before using, configure these secrets in the repository settings:
GORELEASER_KEYNPM_TOKEN@onkernel/cli(in 1pw)HOMEBREW_TAP_TOKENonkernel/homebrew-taprepoWhat the workflow does
v*tagsmake clean-templatesto remove node_modules/.venv from templates@onkernel/clionkernel/homebrew-tapTest plan
Note
Automates CLI releases via GitHub Actions and updates docs accordingly.
./.github/workflows/release.yamlto trigger onv*tags, set up Go/Node, clean templates, and rungoreleaser-prowithGH_PAT,GORELEASER_KEY, andNPM_TOKENDEVELOPMENT.mdto document tag-based releases, required secrets, and optional local dry-runscripts/release.shmanual tagging/release scriptWritten by Cursor Bugbot for commit 2164fc0. This will update automatically on new commits. Configure here.